package com.example.merchant;

import java.util.ArrayList;




public class User {

    private String name;//姓名
    private String sex;//性别
    private Integer age;//年龄 Integer,Object null

    public int sum;//人数 0

    User(){

    }

     User(String name ,String sex,int age){
         //System.out.println("我是"+name+"\t"+sex+"\t年龄"+age+"岁");
         this.name=name;
         this.sex=sex;
         this.age=age;
    }

    User(String name,String sex){
         this.name=name;
         this.sex=sex;
    }
    User(String name){
         this.name=name;
    }
        public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSex() {
        return sex;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getAge() {
        return age;
    }
    /*ArrayList<String> user =new ArrayList<String>();

    public void setUser(ArrayList<String> user) {
        this.user = user;
    }

    public ArrayList<String> getUser() {
        return user;
    }*/

}
